package cn.i7baozh.alibaba.provider.controller;

import cn.hutool.core.lang.UUID;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhangbaoqi532
 * @date 2024/12/27
 */
@RestController
public class PayProviderController {

    @Value("${server.port}")
    private Integer port;

    @GetMapping("/alibaba/provider/get")
    public String getMsg() {
        return "服务器[" + port + "]已经收到请求, 响应为:" + UUID.fastUUID().toString(true);
    }
}
